package com.campus.common.vo;

import java.io.Serializable;

public class BankAccount implements Serializable {
	private String userId;   // 学生或教师的用户ID
    private double balance;  // 账户余额
    private String password; // 银行账户密码
	
    public BankAccount() {}

    public BankAccount(String userId, double balance, String password) {
        this.userId = userId;
        this.balance = balance;
        this.password = password;
    }

	public String getUserId() {
		return userId;
	}
	
	public void setUserId(String userId) {
		this.userId = userId;
	}

	public double getBalance() {
		return balance;
	}

	public void setBalance(double balance) {
		this.balance = balance;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
